import Vue from 'vue'
import VueRouter from "vue-router"


//配置路由
import Upload from "@/pages/upload.vue"
import List from "@/pages/list.vue"
const routes = [{
		path: '/upload',
		component: Upload,
		name:'upload'
	},
	{
		path: '/list',
		component: List,
		name:'list'
	}
]

Vue.use(VueRouter)

const router = new VueRouter({
	routes
})


// console.log(Vue)
export default router;
